.home {
  width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 20px;
  padding-bottom: 20px;
  .home-header {
    height: 195px;
    background: linear-gradient(to bottom, transparent, white);
    border-radius: 16px;
    display: flex;
    gap: 20px;
    padding: 0 20px 20px 20px;
    .asset-box {
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      gap: 20px;
      .asset-box-title {
        font-size: 16px;
        color: var(--neutral-1);
        line-height: 30px;
        font-weight: bold;
        background: url('') no-repeat left center;
        background-size: 24px 24px;
        padding-left: 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .create-deal-btn {
          span {
            font-weight: 500;
          }
        }
      }
      .asset-box-content {
        display: flex;
        gap: 10px;
        .asset-item {
          display: flex;
          flex-direction: column;
          flex: 1 0 0;
          height: 125px;
          padding: 15px 10px;
          border-radius: 8px;
          cursor: pointer;
          justify-content: space-between;
          background: #FFF;
          border: 1px solid #F1F1F1;
          -webkit-transition: all .3s;
          -moz-transition: all .3s;
          transition: all .3s;
          box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
          &:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
          }
          .asset-item-icon {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(0, 0, 0, .05);
            img {
              width: 20px;
              height: 20px;
              -webkit-transition: all .3s;
              -moz-transition: all .3s;
              transition: all .3s;
            }
          }
          &:nth-child(1) {
            .asset-item-icon {
              background-color: var(--secondary-1);
            }
          }
          &:nth-child(2) {
            .asset-item-icon {
              background-color: var(--secondary-2);
            }
          }
          &:nth-child(3) {
            .asset-item-icon {
              background-color: var(--secondary-3);
            }
          }
          &:nth-child(4) {
            .asset-item-icon {
              background-color: var(--secondary-4);
            }
          }
          &:nth-child(5) {
            .asset-item-icon {
              background-color: var(--secondary-5);
            }
          }
          .asset-item-info {
            .asset-item-title {
              font-size: 13px;
              color: var(--neutral-2);
            }
            .asset-item-money {
              font-size: 14px;
              color: var(--neutral-1);
              font-weight: bold;
            }
          }
        }
      }
    }
    .cross-line {
      width: 1px;
      flex-shrink: 0;
      background: #EEE;
    }
    .statistics-box {
      width: 284px;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      gap: 20px;
      .statistics-box-title {
        font-size: 16px;
        color: var(--neutral-1);
        line-height: 30px;
        font-weight: bold;
        background: url('') no-repeat left center;
        background-size: 24px 24px;
        padding-left: 30px;
      }
      .statistics-box-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px 0;
        .statistics-item {
          display: flex;
          flex-direction: column;
          align-items: flex-start;
          .statistics-item-title {
            font-size: 13px;
            color: var(--neutral-2);
          }
          .statistics-item-money {
            font-size: 14px;
            color: #333;
            font-weight: bold;
          }
        }
        .total-assets {
          width: 50%;
          .statistics-item-money {
            // color: #4FC3F7;
          }
        }
        .total-liabilities {
          width: 50%;
          .statistics-item-money {
            // color: #FF8A65;
          }
        }
        .net-assets {
          width: 100%;
          .statistics-item-money {
            // color: #AED581;
          }
        }
      }
    }
  }
  .home-main {
    width: 100%;
    flex-grow: 1;
    display: flex;
    gap: 20px;
    .chart-box {
      flex: 1;
      background: #FFF;
      border-radius: 16px;
      .chart-header {
        height: 60px;
        padding: 20px 20px 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .chart-sign {
          display: flex;
          font-size: 13px;
          gap: 10px;
          li {
            display: flex;
            align-items: center;
            color: #666;
            &::before {
              content: '';
              width: 8px;
              height: 8px;
              border-radius: 2px;
              display: inline-block;
              margin-right: 5px;
            }
          }
          .net-assets-sign {
            &::before {
              background: #AED581;
            }
          }
          .total-assets-sign {
            &::before {
              background: #4FC3F7;
            }
          }
          .total-liabilities-sign {
            &::before {
              background: #FF8A65;
            }
          }
        }
        .year-select {
          display: flex;
          align-items: center;
          gap: 10px;
          .year-select-text {
            font-size: 16px;
            .year-select-input {
              width: 50px;
              padding: 0;
              input {
                text-align: center;
              }
            }
          }
          i {
            display: flex;
            align-items: center;
            cursor: pointer;
            &.year-prev-icon {
              path {
                fill: #666;
              }
            }
            &.year-next-icon {
              transform: rotate(180deg);
              path {
                fill: #666;
              }
            }
            &.forbid {
              pointer-events:none;
              path {
                fill: #CCC;
              }
            }
          }
        }
      }
    }
    .pie-chart-box {
      width: 360px;
      flex-shrink: 0;
      background: #FFF;
      border-radius: 16px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      // .pie-chart-title {
      //   font-size: 16px;
      //   color: #000000;
      //   line-height: 30px;
      //   font-weight: bold;
      //   background: url('') no-repeat left center;
      //   background-size: 24px 24px;
      //   padding-left: 30px;
      // }
      .pie-chart-main {
        flex-grow: 1;
      }
    }
  }
}